package com.gxa.p2p.mapper;

import com.gxa.p2p.pojo.LoanApplication;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;


import java.util.List;
@Repository
public interface LoanApplicationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(LoanApplication record);

    int insertSelective(LoanApplication record);

    LoanApplication selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(LoanApplication record);

    int updateByPrimaryKey(LoanApplication record);
    //查询所有借款申请
    List<LoanApplication> findAll();
    //插入一条数据
    int add(LoanApplication loanApplication);
}